package com.stm.bi.dto.cmd;

import com.stm.framework.annotation.ReqParam;
import lombok.Data;
import lombok.experimental.Accessors;

/**
* 科目分类-创建命令
*
* @author qinyongjie
* @date 2025-05-22
*/
@Data
@Accessors(chain = true)
public class SubjectCategoryAdd {

    @ReqParam(label = "主键ID")
    private Long id;

    @ReqParam(label = "分类名称", required = true, maxLength = 12)
    private String name;

    @ReqParam(label = "上级分类ID", required = true)
    private Long parentId;

    @ReqParam(label = "分类定义", required = true, maxLength = 500)
    private String definition;

    @ReqParam(label = "分类路径")
    private String path;
}
